home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Report Writers / Crystal Repot 9.0 Full CD version / Setup.exe / Windows / System32 / HTMLRE90.DLL / HTML / 10005 < prev    next >
Encoding:
Text File  |  2002-07-05  |  2.7 KB  |  148 lines

  1. <HTML>
  2. <HEAD>
  3. <TITLE>Crystal Management Console</TITLE>
  4. </HEAD>
  5. <script src="%18js/cookie.js"></script>
  6. <script language=javascript>
  7.  
  8. var _loc = "";
  9. var _cols = "";
  10.  
  11. function goHome()
  12. {
  13.     frames["target_frame"].location = "%4";
  14. }
  15.  
  16. function goUser(id)
  17. {
  18.     var start_url = "%5"
  19.     start_url += "&id=" + id;
  20.  
  21.     frames["target_frame"].location = start_url;
  22. }
  23.  
  24. function goGroup(id)
  25. {
  26.     var start_url = "%6";
  27.     start_url += "&id=" + id;
  28.  
  29.     frames["target_frame"].location = start_url;
  30. }
  31.  
  32. function goEvent(id)
  33. {
  34.     var start_url = "%6";
  35.     start_url += "&id=" + id;
  36.  
  37.     frames["target_frame"].location = start_url;
  38. }
  39.  
  40. function goServerGroup(id)
  41. {
  42.     frames["target_frame"].location = "%12" + "&display=frameset&contentsrc=tabframeset&groupid=" + id;
  43. }
  44.  
  45. function goAccount(id, isUser)
  46. {
  47.     if(isUser)
  48.         goUser(id);
  49.     else
  50.         goGroup(id);
  51. }
  52.  
  53.  
  54. function goUsers()
  55. {
  56.     frames["target_frame"].location = "%7";
  57. }
  58.  
  59. function goGroups()
  60. {
  61.     frames["target_frame"].location = "%8";
  62. }
  63.  
  64. function goReports()
  65. {
  66.     frames["target_frame"].location = "%9";
  67. }
  68.  
  69. function goFolders()
  70. {
  71.     frames["target_frame"].location = "%10";
  72. }
  73.  
  74. function goServers()
  75. {
  76.     frames["target_frame"].location = "%11";
  77. }
  78.  
  79. function goServerGroups()
  80. {
  81.     frames["target_frame"].location = "%12";
  82. }
  83.  
  84. function goSettings()
  85. {
  86.     frames["target_frame"].location = "%13";
  87. }
  88.  
  89. function goAuthorization()
  90. {
  91.     frames["target_frame"].location = "%14";
  92. }
  93.  
  94. function goEvents()
  95. {
  96.     frames["target_frame"].location = "%15";
  97. }
  98.  
  99. function goLocation(url)
  100. {
  101.     frames["target_frame"].location = url;
  102. }
  103.  
  104. // fid: the destination folder
  105. // cmdType:  copy or move
  106. // checked_items: the folders to be copied or moved
  107. function copyFolderToRoot(fid, cmdType, checked_items)
  108. {
  109.     url = "%16"  + "&cmd=cm&id=" + fid + "&type=" + cmdType + "&checkedItems=" + checked_items;
  110.     frames["target_frame"].location = url;
  111. }
  112.  
  113. function restartServer(id)
  114. {
  115.     var url = "%17" + "&";
  116.     url += "display=frameset&contentsrc=restart&selectedChoices=" + id;
  117.     frames["target_frame"].location = url;
  118. }
  119.  
  120. var button_style = %19;
  121. var height;
  122. if(button_style == 1)
  123. {
  124.     height = "60";
  125.     if (document.layers)
  126.       height = "70";
  127. }
  128. else if(button_style == 2)
  129. {
  130.     height = "52";
  131.     if (document.layers)
  132.       height = "65";
  133. }
  134. else
  135. {
  136.     height = "73";
  137.     if (document.layers)
  138.       height = "82";
  139. }
  140.  
  141. document.writeln('<FRAMESET FRAMEBORDER="yes" ROWS="' + height + ',*">');
  142. </SCRIPT>
  143.     <frame name="header_frame" scrolling=no src="%1?draw=header%3" MARGINHEIGHT=0 MARGINWIDTH=0>
  144.     <frame name="target_frame" src="%2" MARGINHEIGHT=0 MARGINWIDTH=0>
  145. </frameset>
  146.  
  147. </HTML>
  148.